/**
 * $Revision: 1.0 $
 * $Author: Geln Yang $
 * $Date: May 19, 2010 10:30:55 PM $
 *
 * Author: Geln Yang
 * Date  : May 19, 2010 10:30:55 PM
 *
 */
package com.gooex.service.common;

import java.util.List;
import org.c4j.system.web.page.Page;

import com.gooex.domain.common.AppMessage;

/**
 * @author Geln Yang
 * @version 1.0
 */
public interface IAppMessageManager {

	public void saveMessage(AppMessage message);

	public AppMessage getMessage(String id);

	public void removeMessage(String id);

	public List<AppMessage> getMessageByFrom(String from, Page page);

	public List<AppMessage> getMessageByTo(String to, Page page);

	public int getUnreadMsgCount(String email);

}
